<div class="switcher">
    <a  ng-click="approve1()">用户认证</a>|
    <a  ng-click="approve2()">邮箱认证</a>|
    <a ng-click="approve3()">管理员认证</a>
</div>
<div class="info_box" ng-show="mode3==1">
    <form name="user_approve" novalidate>
        <div class="info">
            <span class="label1">学号</span><input name="stu_num" type="text" ng-model="info1.stu_num" class="style1" required>

        </div>
           <span style="color:red" ng-show="user_approve.stu_num.$dirty &&user_approve.stu_num.$invalid">
                          <span ng-show="user_approve.stu_num.$error.required">学号不可为空！.</span>
                          </span>
        <div class="info">
            <span class="label1">真实姓名</span><input name="real_name" type="text" ng-model="info1.real_name"class="style1" required>

        </div>
          <span style="color:red" ng-show="user_approve.real_name.$dirty && user_approve.real_name.$invalid">
                          <span ng-show="user_approve.real_name.$error.required">真实姓名不可为空！.</span>
                          </span>
        <div style="padding: 20px 50px;">
            <input type="button" class="btn btn-primary" value="开始认证" ng-click="user_approve_submit()">
            <input type="reset" class="btn btn-primary" value="重置" style="margin-left: 100px">
        </div>
    </form>
</div>
<div class="info_box" ng-show="mode3==2">
    <form name="email_approve">
        <div class="info">
            <span class="label1">学校邮箱</span><input name="school_email" type="text" ng-model="info2.school_email" class="style1"required>
            <span style="color:red" ng-show="user_approve.schoole_email.$dirty && user_approve.schoole_email.$invalid">
            <span ng-show="user_approve.schoole_email.$error.required">学校邮箱不可为空！.</span>
            </span>
        </div>
        <div style="padding: 20px 50px;">
            <input type="button" class="btn btn-primary" value="开始认证" ng-click="email_approve_submit()">
            <input type="reset" class="btn btn-primary" value="重置" style="margin-left: 100px">
        </div>
    </form>
</div>